package com.example.stray_animal_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: panpan
 * @time: 2025/11/1
 */
@Data
@TableName("adoption")
public class Adoption {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer animalId;
    private String reason;
    private String address;
    private Integer status;
    private LocalDateTime applyTime;
    private LocalDateTime reviewTime;
    private String rejectreason; // 新增字段：驳回理由
    private String applicantName; //申请人姓名
    private String phone;
    private String housingType;
    private String familyMembers;
    private String experience;
}
